package com.uff.hmstpa.vision.command;

import java.awt.event.ActionEvent;

import javax.swing.JMenuItem;

@SuppressWarnings("serial")
public class SelectDoctorCommand extends AbstractViewCommand {
	
	public void actionPerformed(ActionEvent evt) {
		String doctorName = ((JMenuItem) evt.getSource()).getText();
		controller.selectDoctor(doctorName);
	}

}
